<?xml version="1.0" encoding="UTF-8"?>

<resources>

	<module>
		<id>mod:edu.gtcfla:km.platform</id>
		<group-id>edu.gtcfla</group-id>
  		<name-id>km.platform</name-id>
  		<i18n code="edu.gtcfla.km.platform">应用平台</i18n>
		<bootup>true</bootup>
		<enabled-status>true</enabled-status>

  		<version value="1.0">
			<release-date>2012-03-24</release-date>
			<developer>vison ruan</developer>
  		</version>

  		

  		<url-map>
			<asso-class id="url:edu.gtcfla:km.platform:mycfs.portal.index"  value="index.htm" acl="access" >
				edu.gtcfla.km.platform.appmodules.web.MainController
			</asso-class>
  		</url-map>
  		
		<menus>
			<!-- module menu -->
			<menu id="mnu:edu.gtcfla:km.platform:home" modulemenu="true">
				<i18n code="register.menu-km.platform.index">个人知识点使用平台</i18n>
			</menu>

			<menu id="mnu:edu.gtcfla:km.platform:mycfs" parentid="mnu:edu.gtcfla:km.platform:home" >
				<i18n code="register.module-km.menu.myhomespace">基</i18n>
				<ref-key refid="ctl:edu.gtcfla:km.platform:mycfs" type="controller" />
			</menu>

		</menus>
		
  		<controllers>
  			<controller id="ctl:edu.gtcfla:km.platform:mycfs" value="mycfs.Startup"/>
  		</controllers>		
		
		<!--  定义模块的对外接口 -->
		<functions>
			<!-- 模块主 -->
			<function id="fun:edu.gtcfla:km.platform:main.homepage" desc="个人平台">
				<binding-ref refid= "mnu:edu.gtcfla:km.platform:mycfs" type="menu" />
				<binding-ref refid= "url:edu.gtcfla:km.platform:mycfs.portal.index" type="url" />
				<action-ref refid="act:edu.gtcfla:km.platform:mycfs#access" />
				<action-ref refid="act:edu.gtcfla:km.platform:mycfs#deny" />
			</function>
		</functions>

  		<!-- 支持的功能操作设定 -->
  		<actions>
  			<action id="act:edu.gtcfla:km.platform:mycfs#access" name="工作台-允许访问" >
  				<perm-define refid="mnu:edu.gtcfla:km.platform:mycfs" acl="access" type="menu"/>
  				<perm-define refid="url:edu.gtcfla:km.platform:mycfs.portal.index" acl="access" type="url"/>
  			</action>
  			<action id="act:edu.gtcfla:km.platform:mycfs#deny" name="工作台-禁止访问" >
  				<perm-define refid="mnu:edu.gtcfla:km.platform:mycfs" acl="deny" type="menu"/>
  				<perm-define refid="url:edu.gtcfla:km.platform:mycfs.portal.index" acl="access" type="url"/>
  			</action>
  		</actions>


  		<!-- 指定默认连接页面，或事件的菜单 ，该项为 option -->
  		<defalt-event refid="ctl:edu.gtcfla:km.platform:mycfs" type="ctl"/>


		<!-- 初始权限数据 -->
		<permissions>
			<permission refid="mnu:edu.gtcfla:km.platform:home" rolecode="superadmin" acl="access"/>
			
			<permission 
				refid="fun:edu.gtcfla:km.platform:main.homepage" 
				rolecode="superadmin"
				actid="act:edu.gtcfla:km.platform:mycfs#access"
				/>
		</permissions>


	</module>
	
</resources>
